package com.heima.mapper;

import com.heima.pojo.entity.Business;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface BusinessMapper {

    @Select("select * from tb_business where id =#{id} ")
    Business nodebusinessByid(long parseLong);

    @Select("select * from tb_business")
    List<Business> selectBusiness();//查询商圈列表
}
